import request from '@/utils/request'

// 获取 首页云机数量（总数）
export function queryMyYunJi(query) {
    return request({
        url: '/system/home/myYunJi',
        method: 'get',
        params: query
    })
}

// 获取 首页云机数量（在线）
export function queryOnLineYunji(query) {
    return request({
        url: '/system/home/onLineYunji',
        method: 'get',
        params: query
    })
}

// 获取 首页云机数量（准备）
export function queryOffLineYunji(query) {
    return request({
        url: '/system/home/offLineYunji',
        method: 'get',
        params: query
    })
}

// 获取 首页云机数量（离线）
export function queryOffYunji(query) {
    return request({
        url: '/system/home/offYunji',
        method: 'get',
        params: query
    })
}

// 获取 总业绩
export function queryTotalPerformance(query) {
    return request({
        url: '/system/home/totalPerformance',
        method: 'get',
        params: query
    })
}

// 获取 总支出
export function queryTotalExpenditure(query) {
    return request({
        url: '/system/home/totalExpenditure',
        method: 'get',
        params: query
    })
}

// 获取 用户等级统计
export function queryUserLevelCount(query) {
    return request({
        url: '/system/home/userLevelCount',
        method: 'get',
        params: query
    })
}

// 获取 订单统计
export function queryOrderCount(query) {
    return request({
        url: '/system/home/orderCount',
        method: 'get',
        params: query
    })
}
